package com.project.service;

import com.project.entity.User;
import com.project.myBeans.SchoolManagerDetail;

/**
 * 学院管理员相关操作
 *
 */
public interface SchoolMangerService {

    /**
     * author: WheelChen
     * date: 2017/8/8
     * function: 创建学院管理员账号
     * 
     * @param schoolManagerDetail user表 + schoolManagerInfo表
     * @return
     */
    boolean addAccount(SchoolManagerDetail schoolManagerDetail) throws Exception;

    /**
     * author: WheelChen
     * date: 2017/10/10
     * function: 根据学院id查找学院管理员用户表信息
     *
     * @param schoolId
     * @return
     */
    User findOneBySchoolId(Integer schoolId) throws Exception;
}
